<?php include('conectar.php'); error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);?>
<html>
<head>
	<title>Aplicaci&oacute;n Probando SubVersion </title>
</head>
<body>
<table border="1" align="center">
	<tr align="center">
		<td>ID</td>
		<td>Nombre</td>
		<td>Telefono</td>
		<td>Direccion</td>
		<td>Estado</td>
	</tr>
	<?php $consulta=mysql_query("select a.CODUSU,a.NOMUSU,a.TELUSU,a.DIRUSU,b.DESPARAM 
				from tabusuar a inner join tabparam b on b.CODPARAM=a.ESTUSU and b.TIPPARAM='ESTADO'"); 
		while($row=mysql_fetch_row($consulta)){	?>
		<tr>
			<td><?=$row[0] ?></td>
			<td><?=$row[1] ?></td>
			<td><?=$row[2] ?></td>
			<td><?=$row[3] ?></td>
			<td><?=$row[4] ?></td>
		</tr>
	<?php } ?>
</table>
<br>
<center>
	<input type="button" value="Agregar Usuario" onclick="window.open('paginas/form_usuario.php','_parent')" >
</center>
</body>
</html>